package com.caregiver.watch.business.care.model.vo;

import com.caregiver.watch.business.data.enums.SportTypeEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Description: 活动详情数据
 * @Author 疆戟
 * @Date 2025/10/25 10:15
 * @Version 1.0
 */
@Data
@Schema(description = "活动详情数据")
public class ActivityDataDetailVo {

    /**
     * 运动类型
     */
    @Schema(description = "运动类型")
    private SportTypeEnum sportType;
    /**
     * 步数
     */
    @Schema(description = "步数")
    private Integer steps;

    /**
     * 距离
     */
    @Schema(description = "距离")
    private BigDecimal distance;

    /**
     * 开始时间
     */
    @Schema(description = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @Schema(description = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime endTime;

    /**
     * 卡路里
     */
    @Schema(description = "卡路里")
    private BigDecimal calories;

    /**
     * 时长
     */
    @Schema(description = "时长(分钟)")
    private Integer duration;
}
